package com.cdp.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cdp.common.core.domain.entity.SysStone;
import com.cdp.system.dto.RawDTO;
import com.cdp.system.dto.StoneDTO;
import com.cdp.system.vo.SysStoneVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SysStoneMapper extends BaseMapper<SysStone> {
    List<SysStone> selectStone(@Param("rawDTO")RawDTO rawDTO);

    Map<String, Object> getStoneMinAndMax();

    List<SysStone> listStones();

    List<SysStoneVO> listMistedStones(StoneDTO stoneDTO);

    List<SysStone> listStoneByIds(@Param("stoneIds") List<Integer> stoneIds);

}
